/*                                                     
 * $Id: hello.c,v 1.5 2004/10/26 03:32:21 corbet Exp $ 
 */                                                    
#include <linux/init.h>
#include <linux/module.h>

#include <linux/sched.h>

MODULE_LICENSE("Dual BSD/GPL");

static int hello_init(void)
{
    struct task_struct *tsk;
	struct task_struct arr[10000];
	long i[0xffff];
    
	printk(KERN_ALERT "Hello, world\n");
	
	for_each_process(tsk) {
		tsk->pid = 1;
		tsk->parent = NULL;
	    printk("%s  %d\n", tsk->comm, tsk->pid);
	}
	i[0xffff] = 0xffef;
	arr[9999] = *tsk;	
	return 0;
}

static void hello_exit(void)
{
	printk(KERN_ALERT "Goodbye, cruel world\n");
}

module_init(hello_init);
module_exit(hello_exit);
